package com.mall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author ShouPeng
 * @since 2024-01-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mall_carousel")
public class Carousel implements Serializable {

    private static final long serialVersionUID=1L;

//    @ApiModelProperty(value = "carouselId")
    @TableId(type=IdType.ASSIGN_ID)
    private String carouselId;

//    @ApiModelProperty(value = "图片地址")
    private String carouselCover;

//    @ApiModelProperty(value = "排序值")
    private Integer carouselSort;

//    @ApiModelProperty(value = "创建时间")
    private String carouselCreateTime;

    //跳转地址
    private String carouselHref;


}
